package com.ytxg.health_management.notice.entity;

import com.ytxg.health_management.pojo.dto.UserDto;
import com.ytxg.health_management.pojo.entity.Page;
import com.ytxg.health_management.pojo.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Notice extends Page implements Serializable {
    private Integer id;
    private Integer receiveUserId;
    private Integer sendUserId;
    private String text;
    private String read;
    private String noticeType;
    private Date createTime;
    private UserNotice receiveUser;
    private UserNotice sendUser;
}
